package com.sl.au.service;

import com.sl.au.entity.Direction;
import com.sl.au.repository.DirectionRepository;
import com.sl.au.repository.WeeklyRepository;


import java.util.List;
import java.util.Map;

public interface DirectionService extends BaseService {
    DirectionRepository getRepository();

    List<Direction> getDirections(int start, int length,Map<String,String>condition,String orderName,String dir);
    long getDirectionsCount(Map<String,String> condition);

    //手机端页面显示
    List<Direction> getMobilePage(int start, int length,Map<String, Object> condition,String orderName ,String dir);
    long getMobilePageCount(Map<String,Object> condition);
}